package com.exm.collectcodenew.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.exm.collectcodenew.web.entity.Works;
import com.sun.corba.se.spi.orbutil.threadpool.Work;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WorkByMapper extends BaseMapper<Work> {
    List<Map<String,Object>> getDailyCount(@Param("requst") Works works, @Param("tableNames") List<String> tableNames);

    List<Works> getCurrentPageData(@Param("requst") Works works, @Param("selectedDates") List<String> selectedDates, @Param("globleOffset") long globleOffset,@Param("globleLimit") long globleLimit);
}
